package com.huawei.fastengine.fastview.download.utils;

import com.huawei.fastengine.fastview.download.utils.log.FastViewLogUtils;
import java.io.Closeable;
import java.io.IOException;

public class IoUtils {
    private static final String TAG = "IoUtils";

    public static void closeStream(Closeable closeable) {
        if (closeable != null) {
            try {
                closeable.close();
            } catch (IOException e) {
                FastViewLogUtils.e(TAG, "closeStream IOException");
            }
        }
    }
}
